import {createRouter, createWebHashHistory} from "vue-router";
import Home from "./components/home.vue"
import About from "./components/about.vue"
import Login from "./components/Login.vue"

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:"/",
            component:Login
        },
        {
            path:"/home",
            component:Home
        },
        {
            path:"/about",
            component:About
        }
    ]
})

export default router;